package com.tarena.lbs.business.dao.repository;

import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import com.tarena.lbs.business.pojo.vo.BusinessVO;

import java.util.List;


public interface BusinessRepository {

    List<BusinessPO> List(BusinessQuery query);

    BusinessPO selectById(Integer id);

    void insert(BusinessPO businessPO);

    List<BusinessPO> list(BusinessQuery query);

    List<BusinessVO> selectList(BusinessQuery query);
}
